@import "variables";
@import "mixins";

.hidden {
  display: none;
}

.view-header {

  position: relative;
  padding-left: 0px;
  color: @hdBaseColor;
  background-color: @hdBgColor;
  height: 50px;
  border-bottom: 2px solid @hdBaseColor;
  overflow: hidden;
  text-shadow: none;

  .hd-btn {
    position: relative;
    cursor: pointer;
    float: left;
    margin: 0 0;
    padding: 0px 8px 0 5px;
    width: 90px;
    height: 50px;
    border-right: 2px solid;

    &.expandable:after {
      content: '';
      position: absolute;
      right: 1px;
      bottom: 1px;
      width:0;
      height:0;
      border-right: 6px solid @hdBaseColor;
      border-bottom: 6px solid @hdBaseColor;
      border-top: 6px solid transparent;
      border-left: 6px solid transparent;
    }

    &.deactivated.expandable {

      .hd-btn-label {
        color: #ff0033;
      }
    }
    &.deactivated.expandable:after {
      border-right: 6px solid #ff0033;
      border-bottom: 6px solid #ff0033;
    }

    &.freq {
      padding-right: 0;
      width: 50px;

      .hd-btn-text {
        text-align: left;
      }
    }

    .hd-btn-label {
      padding-top: 5px;
      font-size: 12px;
      text-align: center;
    }

    .hd-btn-text {
      padding-top: 5px;
      color: #ddd;
      text-align: center;
    }

    .hd-btn-icon {
      margin-right: -8px;
      display: block;
      vertical-align: middle;
      text-align: center;
      font-size: 35px;
      line-height: 48px;

      .transition(color .5s);

      &.pressed {
        color: lighten(@hdBaseColor, 10%);
      }
    }
  }

  .hd-freq {
    cursor: pointer;
    float: left;
    margin: 0 0;
    padding-left: 15px;
    height: 50px;
    line-height: 50px;
    color: #ddd;
  }

  .hd-freq-text {
    padding: 3px 15px;
    color: #444;
    background-color: #ccc;
    font-size: 30px;

    .border-radius(50px);
  }

  .hd-tb-right {
    position:absolute;
    top: 0;
    right: 0;
  }

  .hd-divider {
    border-left: 2px solid @hdBaseColor;
  }
}

.th_slider {
  font: 10px sans-serif;
  shape-rendering: crispEdges;
}

.th_slider .scale {
  stroke: grey
}

.th_slider .axis line, .th_slider .axis path {
  fill: none;
  stroke: grey;
}

.th_slider .dragger path {
  fill-opacity: 0.75;
}

.th_slider .dragger.selected path {
  fill: yellow;
  stroke-width: 2;
}

svg text {
  text-shadow: none;
}

.df-geo-location {
  cursor: pointer;
  position: absolute;
  top: 65px;
  right: 10px;
  padding: 5px 10px;
  border: 2px solid #888;
  text-shadow: none;

  .border-radius(10px);
}

.df-geo-location-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.locate-ms-indicator {
  position: fixed;
  top: 15px;
  right: 10px;
  height: 18px;
  line-height: 18px;
  color: yellow;
  font-size: 18px;
  text-shadow: none;
}

/* mobiscroll */

.dwo {
  opacity: 0.5;
}

.dwbg .dwb {
  height: 60px;
  line-height: 60px;
  font-size: 18px;
  font-weight: normal;
}

.dwbc {
  padding-bottom: 10px;
}

.dwl {
  font-size: 16px;
}

/* slide in menu */
/*
#sim-overlay, #sim-container, #sim-handle {
  display: none;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 197;
}

#sim-container {
  right: 0;
  background: black;
  opacity: 0.1;
  z-index: 198;
}

#sim-handle {
  cursor: pointer;
  top: 50%;
  right: 0px;
  width: 90px;
  height: 160px;
  margin-top: -80px;

  .opacity(0.5);

  border-top:2px solid #777;
  border-bottom:2px solid #777;
  border-left:2px solid #777;
  background: #ccc;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;

  .transition(background-color .5s);

  &:hover {
    .opacity(0.5);
    background-color: darken(#ccc, 10%);
  }

  &:after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
    border-right-width: 20px;
    border-right-style: solid;
    border-right-color: #444;
    border-left: 0;
  }

  &.active:after {
    content: ' ';
    left: 40px;
    border-right: 0;
    border-left: 20px solid #999;
  }
}

.sim-btn {
  display: table;
  cursor: pointer;
  position: absolute;
  top: -100px;
  left: 0px;
  width: 120px;
  height: 80px;
  color: #888;
  font-size: 22px;
  text-align: center;
  background: #dddddd;
  border: 3px solid #bbb;
  z-index: 199;

  .border-radius(15px);

  &.active {
    color: white;
    background: blue;
  }

  div,
  i {
    display:table-cell;
    vertical-align: middle;
  }

  .font-icon-set-base {
    width: 52px;
    padding-left: 20px;
    text-shadow: none;
    color: #000;
    font-size: 38px;
    text-shadow: 0px 3px 3px rgba(74, 79, 77, 0.68);
  }

  [class^="icon-"],
  [class*=" icon-"] {
    .font-icon-set-base;
  }

  [class^="foundicon-"],
  [class*=" foundicon-"] {
    .font-icon-set-base;
  }
}
*/